package com.jiazhong.shixi.diancan_xitong.service;

import com.jiazhong.shixi.diancan_xitong.bean.Order;
import com.jiazhong.shixi.diancan_xitong.mapper.OrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderService {
    @Autowired
    private OrderMapper orderMapper;

    public List<Order> findOrdersByCusId(String cusId) {
        return orderMapper.findOrdersByCusId(cusId);
    }
}